package com.thtf.strokeinquiry.app.bean;

import com.fasterxml.jackson.annotation.JsonFormat;

import javax.persistence.Id;
import java.util.Date;

public class MedInquiryRecord {

    @Id
    private Integer id;

    private String recordId;

    private String inquiryOrg;

    private Date inquiryDate;

    private String inspector;

    private String inspectorMobile;

    private String patientId;

    private String patientName;

    private String patientIdNo;

    private String patientSex;

    private String patientNation;

    private String livingSituation;

    private String patientMarriage;

    private String educationDegree;

    private String isRetire;

    private String profession;

    private String yearlyIncome;

    private String medPaymethod;

    private String residenceAddress;

    private String residenceDetail;

    private String residencePostcode;

    private String livingAddress;

    private String livingDetail;

    private String livingPostcode;

    private String eMail;

    private String patientTelephone;

    private String patientMobile;

    private String contact;

    private String contactRelation;

    private String contactRelationOther;

    private String contactMobile;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createDate;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateDate;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getRecordId() {
        return recordId;
    }

    public void setRecordId(String recordId) {
        this.recordId = recordId == null ? null : recordId.trim();
    }

    public String getInquiryOrg() {
        return inquiryOrg;
    }

    public void setInquiryOrg(String inquiryOrg) {
        this.inquiryOrg = inquiryOrg == null ? null : inquiryOrg.trim();
    }

    public Date getInquiryDate() {
        return inquiryDate;
    }

    public void setInquiryDate(Date inquiryDate) {
        this.inquiryDate = inquiryDate;
    }

    public String getInspector() {
        return inspector;
    }

    public void setInspector(String inspector) {
        this.inspector = inspector == null ? null : inspector.trim();
    }

    public String getInspectorMobile() {
        return inspectorMobile;
    }

    public void setInspectorMobile(String inspectorMobile) {
        this.inspectorMobile = inspectorMobile == null ? null : inspectorMobile.trim();
    }

    public String getPatientId() {
        return patientId;
    }

    public void setPatientId(String patientId) {
        this.patientId = patientId == null ? null : patientId.trim();
    }

    public String getPatientName() {
        return patientName;
    }

    public void setPatientName(String patientName) {
        this.patientName = patientName == null ? null : patientName.trim();
    }

    public String getPatientIdNo() {
        return patientIdNo;
    }

    public void setPatientIdNo(String patientIdNo) {
        this.patientIdNo = patientIdNo == null ? null : patientIdNo.trim();
    }

    public String getPatientSex() {
        return patientSex;
    }

    public void setPatientSex(String patientSex) {
        this.patientSex = patientSex == null ? null : patientSex.trim();
    }

    public String getPatientNation() {
        return patientNation;
    }

    public void setPatientNation(String patientNation) {
        this.patientNation = patientNation == null ? null : patientNation.trim();
    }

    public String getLivingSituation() {
        return livingSituation;
    }

    public void setLivingSituation(String livingSituation) {
        this.livingSituation = livingSituation == null ? null : livingSituation.trim();
    }

    public String getPatientMarriage() {
        return patientMarriage;
    }

    public void setPatientMarriage(String patientMarriage) {
        this.patientMarriage = patientMarriage == null ? null : patientMarriage.trim();
    }

    public String getEducationDegree() {
        return educationDegree;
    }

    public void setEducationDegree(String educationDegree) {
        this.educationDegree = educationDegree == null ? null : educationDegree.trim();
    }

    public String getIsRetire() {
        return isRetire;
    }

    public void setIsRetire(String isRetire) {
        this.isRetire = isRetire == null ? null : isRetire.trim();
    }

    public String getProfession() {
        return profession;
    }

    public void setProfession(String profession) {
        this.profession = profession == null ? null : profession.trim();
    }

    public String getYearlyIncome() {
        return yearlyIncome;
    }

    public void setYearlyIncome(String yearlyIncome) {
        this.yearlyIncome = yearlyIncome == null ? null : yearlyIncome.trim();
    }

    public String getMedPaymethod() {
        return medPaymethod;
    }

    public void setMedPaymethod(String medPaymethod) {
        this.medPaymethod = medPaymethod == null ? null : medPaymethod.trim();
    }

    public String getResidenceAddress() {
        return residenceAddress;
    }

    public void setResidenceAddress(String residenceAddress) {
        this.residenceAddress = residenceAddress == null ? null : residenceAddress.trim();
    }

    public String getResidenceDetail() {
        return residenceDetail;
    }

    public void setResidenceDetail(String residenceDetail) {
        this.residenceDetail = residenceDetail == null ? null : residenceDetail.trim();
    }

    public String getResidencePostcode() {
        return residencePostcode;
    }

    public void setResidencePostcode(String residencePostcode) {
        this.residencePostcode = residencePostcode == null ? null : residencePostcode.trim();
    }

    public String getLivingAddress() {
        return livingAddress;
    }

    public void setLivingAddress(String livingAddress) {
        this.livingAddress = livingAddress == null ? null : livingAddress.trim();
    }

    public String getLivingDetail() {
        return livingDetail;
    }

    public void setLivingDetail(String livingDetail) {
        this.livingDetail = livingDetail == null ? null : livingDetail.trim();
    }

    public String getLivingPostcode() {
        return livingPostcode;
    }

    public void setLivingPostcode(String livingPostcode) {
        this.livingPostcode = livingPostcode == null ? null : livingPostcode.trim();
    }

    public String geteMail() {
        return eMail;
    }

    public void seteMail(String eMail) {
        this.eMail = eMail == null ? null : eMail.trim();
    }

    public String getPatientTelephone() {
        return patientTelephone;
    }

    public void setPatientTelephone(String patientTelephone) {
        this.patientTelephone = patientTelephone == null ? null : patientTelephone.trim();
    }

    public String getPatientMobile() {
        return patientMobile;
    }

    public void setPatientMobile(String patientMobile) {
        this.patientMobile = patientMobile == null ? null : patientMobile.trim();
    }

    public String getContact() {
        return contact;
    }

    public void setContact(String contact) {
        this.contact = contact == null ? null : contact.trim();
    }

    public String getContactRelation() {
        return contactRelation;
    }

    public void setContactRelation(String contactRelation) {
        this.contactRelation = contactRelation == null ? null : contactRelation.trim();
    }

    public String getContactRelationOther() {
        return contactRelationOther;
    }

    public void setContactRelationOther(String contactRelationOther) {
        this.contactRelationOther = contactRelationOther == null ? null : contactRelationOther.trim();
    }

    public String getContactMobile() {
        return contactMobile;
    }

    public void setContactMobile(String contactMobile) {
        this.contactMobile = contactMobile == null ? null : contactMobile.trim();
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }
}